package com.buka.menu.entity;

public class Menu {

    private Long id;

    private String name;//菜单名

    private String location;//请求地址

    private int sort;//排序字段

    public Menu() {
    }

    public Menu(Long id, String name, String location, int sort) {
        this.id = id;
        this.name = name;
        this.location = location;
        this.sort = sort;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }
}
